package com.tuo51.observation.vo.observation;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ObservationOptionVO implements Serializable {

    private String id;
    private String title;
    private Integer score;

    private boolean selected;

    public static ObservationOptionVO of(String id, String title, Integer score){
        ObservationOptionVO ret = new ObservationOptionVO();

        ret.setId(id);
        ret.setTitle(title);
        ret.setScore(score);

        return ret;
    }
}
